﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _114_类的静态构造函数
{
    class ClassB : ClassA
    {
        public static string ID;
        public ClassB()
        {
            Console.WriteLine("public B");
        }

        static ClassB()
        {
            Console.WriteLine("static B");
            ID = "007";
        }

        public ClassB(string name)
        {
            Console.WriteLine("classB name");
        }
    }
}
